import Request from '@/utils/request/request-util';

/**
 * 煤场基础场地代码-API接口
 *
 * @author 张朋飞
 * @date 2024/09/13 22:13
 */
export class WmMdWarehouseApi {

  /**
   * 获取分页列表
   *
   * @author 张朋飞
   * @date 2024/09/13 22:13
   */
  static findPage(params) {
    return Request.getAndLoadData('/wmMdWarehouse/page', params);
  }

  /**
   * 添加煤场基础场地代码
   *
   * @author 张朋飞
   * @date 2024/09/13 22:13
   */
  static add(params) {
    return Request.post('/wmMdWarehouse/add', params);
  }

  /**
   * 编辑煤场基础场地代码
   *
   * @author 张朋飞
   * @date 2024/09/13 22:13
   */
  static edit(params) {
    return Request.post('/wmMdWarehouse/edit', params);
  }

  /**
   * 删除单个煤场基础场地代码
   *
   * @author 张朋飞
   * @date 2024/09/13 22:13
   */
  static delete(params) {
    return Request.post('/wmMdWarehouse/delete', params);
  }

  /**
   * 删除批量煤场基础场地代码
   *
   * @author 张朋飞
   * @date 2024/09/13 22:13
   */
  static batchDelete(params) {
    return Request.post('/wmMdWarehouse/batchDelete', params);
  }

  /**
   * 煤场基础场地代码详情
   *
   * @author 张朋飞
   * @date 2024/09/13 22:13
   */
  static detail(params) {
    return Request.getAndLoadData('/wmMdWarehouse/detail', params);
  }

   /**
   * 查询煤场基础场地列表
   *
   * @author 张朋飞
   * @date 2021/12/29 09:15:48
   */
   static findList(params) {
    return Request.getAndLoadData('/wmMdWarehouse/list', params);
  }

}